#ifdef DMALLOC
#include <stdlib.h>
#include "dmalloc.h"
#define my_new(struct_type, n_structs) ((struct_type *) malloc ((sizeof (struct_type)) * (n_structs)))
#define my_free free
#else
#define my_new(struct_type, n_structs) g_new(struct_type, n_structs) 
#define my_free g_free
#endif

#ifdef HAVE_CONFIG_H
#include "config.h"
#endif

typedef int direction;
